package com.lkm.market2_0.entity;

import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.lkm.javatool.StringHelp;



public class UpDataApiTo {






//        "purl": "https://fpms.chinaap.com",






    @SerializedName("order0Config")
    public String order0Config;

    @SerializedName("ptype")
    public int type;

    @SerializedName("isimg")
    public int isUpImg;

    @SerializedName("isimg4g")
    public int isimg4g;

    
    public boolean getIsUpImgToMe() {
        return isUpImg==0;
    }
    
    public boolean getIsUpImgIn4G() {
        return isimg4g==1;
    }

    @SerializedName("ptime")
    public long time;

    @SerializedName("info")
    public JsonObject info;


    

    @SerializedName("isopenshop")
    private String fjEnable;

    public boolean isFjEnable() {
        return "1".equals(fjEnable);
    }

    

    @SerializedName("shopgeturl")
    public String fjGetUrl;

    

    @SerializedName("shopputurl")
    public String fjUpUrl;
    @SerializedName("shopputimg")
    public String fjUpImgUrl;


    public boolean isUpImage() {
        return !StringHelp.isEmpty(fjUpImgUrl);
    }
}
